package com.tianma.springcloud;

import com.netflix.ribbon.Ribbon;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * @author lgc
 * @createDate 2020/9/3 - 14:09
 */
@SpringBootApplication
@EnableEurekaClient
@EnableZuulProxy
@RibbonClient(name="springcloud-provider-dept",configuration = Ribbon.class)
public class ZuulApp {
    public static void main(String[] args){
        SpringApplication.run(ZuulApp.class,args);
    }
}
